WPForms\Forms\Fields\FileUpload\Field A

Total Complexity 53
Dependencies 0
Dependents 0
Total lines 1,005
Lines of code 597
Logical lines of code 108
Comment lines 238
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
field_options()
A
29 6 181
get_password_field()
S
46 2 45
field_preview()
S
51 3 29
get_max_file_number()
S
62 4 13
add_password_toggle()
S
54 3 23
get_password_confirm_field()
S
49 2 37
add_user_restrictions_select()
S
50 2 34
add_user_roles_restrictions()
S
49 2 34
add_user_names_restrictions()
S
50 2 33
access_restrictions_options()
S
53 2 25
add_password_fields()
S
54 2 24
add_password_label()
S
55 2 21
get_selected_users()
S
60 2 14
get_user_roles()
S
63 2 12
get_strings()
S
55 1 20
get_user_ids()
S
77 2 3
get_selected_roles()
S
71 2 5
should_hide_user_restrictions()
S
78 2 3
get_user_restrictions_value()
S
78 2 3
init()
S
62 1 11
is_protected()
S
79 1 3
get_user_list()
S
76 1 4
is_restricted()
S
79 1 3
password_protection_options()
S
74 1 5
user_restriction_options()
S
68 1 7
get_access_restrictions_options_attrs()
S
82 1 3
field_display()
S
91 1 2